/*
 * @Descripttion:
 * @version:
 * @Author: wellington
 * @Date: 2021-11-22 17:34:46
 */
import request from '@/utils/axios'

export function getSmsChannels() {
  return request({
    url: '/client/v1/membership/user/init-info'
  })
}
export function login(data) {
  return request({
    method: 'post',
    data,
    url: '/client/v1/membership/user/web/login',
    ignoreAuth: true
  })
}
export function sendVerifCode(data) {
  return request({
    method: 'post',
    data,
    url: '/client/v1/common/verify-code/send',
    ignoreAuth: true
  })
}
export function banners() {
  return request({
    url: '/client/v1/home-page/banner/all'
  })
}

// export function validateMobile(mobilePhone) {
//   return request({
//     url: '/client/v3/membership/user/validate-mobile',
//     params: { mobilePhone }
//   })
// }
// 用设备识别用户
// export function createFingermark(data) {
//   return request({
//     data,
//     method: 'post',
//     url: '/client/v2/fingermark/create'
//   })
// }
// export function reportFingermark(data) {
//   return request({
//     data,
//     method: 'post',
//     url: '/client/v2/fingermark/scenario'
//   })
// }
